/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.Credit;

/**
 * 信用额度DAO接口
 * @author lvls
 * @version 2017-09-21
 */
@MyBatisDao
public interface CreditDao extends CrudDao<Credit> {

	Credit selectByUserId(String userId);

	int changeStatus(Credit credit);

	void updateUseMoney(Credit credit);
	
	void updateByUserId(Credit credit);
}